package com.bjzsly.star3.xzb.utils;


import org.greenrobot.eventbus.EventBus;

public class EventUtil {


    public static void register(Object context){
        EventBus.getDefault().register(context);
    }

    public static void unregister(Object context){
        EventBus.getDefault().unregister(context);
    }

    public static void sendEvent(Object object){
        EventBus.getDefault().post(object);
    }
}